package com.layne.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * SeckillGoods 实体类
 *
 * @author layne
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_seckill_goods")
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class SeckillGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long goodsId;

    private Double seckillPrice;

    /**
     * 库存数量
     */
    private Integer stockCount;

    private Date startDate;

    private Date endDate;


}
